//
//  GLViewController.h
//  Blend
//
//  Created by wq on 11-8-24.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import <OpenGLES/EAGL.h>
#import <OpenGLES/ES1/gl.h>
#import <OpenGLES/ES1/glext.h>


@interface GLViewController : UIViewController {
	EAGLContext *context;
	CADisplayLink *dispLink;
	
	BOOL animating;
	NSUInteger frameInterval;
}

@property(nonatomic, readonly) BOOL animating;
@property(nonatomic, assign) NSUInteger frameInterval;

-(void)startAnimation;
-(void)stopAnimation;

@end
